import request from '@/utils/request'

export function getTree() {
  return request({
    url: '/web-api/system/dept/treeselect/sub',
    method: 'get'
  })
}

export function getOne(id) {
  return request({
    url: '/web-api/system/grid/' + id,
    method: 'get'
  })
}
